//中转工具模块函数,减少模块污染
//数据请求相关操作
import  spring from "@/config/http/spring";
import flask from "@/config/http/flask";
import api from "@/config/http/json-serve";
import mock from "@/config/http/mock"
//token相关设置
import {setToken, getToken, delToken} from "@/config/utils/token";
import {setMenu, getMenu, delMenu} from "@/config/utils/menuing";
import {setUser, getUser, delUser} from "@/config/utils/userLocal"
//主题相关设置
import {useTheme} from "@/config/theme";
//自定义复杂类型
import type {TResult} from "@/config/types";
import { type EventParams } from "@/config/utils/echarts";
//基础网址
import {MOCK_BASE_URL} from "@/config/http/_BASEURL";
import {STUDENT_BASE_URL} from "@/config/http/_BASEURL";

import {changeStr} from "@/config/utils/num-to-str";
import {getContentDirTree, type IDirTree} from "@/config/utils/getDirectory";


export {
    spring, flask,api,mock,
    setToken, getToken, delToken,
    setMenu, getMenu, delMenu,
    setUser, getUser, delUser,
    useTheme,
    type TResult, type EventParams,type IDirTree,
    MOCK_BASE_URL,STUDENT_BASE_URL,
    changeStr,getContentDirTree
}